package com.mf.service.authority;


import com.mf.domain.authority.RoleInfo;
import com.mf.service.framework.IService;

import java.util.Map;

/**
 * 角色信息Service层接口类
 * User: zhaoming
 * DateTime: 2016-07-14
 * To change this template use File | Settings | File Templates.
 **/
public interface RoleInfoService extends IService<RoleInfo> {

    /**
     * 根据主键删除角色信息
     * @param roleInfo 角色信息Domain
     */
    boolean deleteByPrimaryKey(RoleInfo roleInfo);

    /**
     * 检查重复数据
     * @return 验证结果
     */
    Map<String, Object> checkRepeat(RoleInfo roleInfo);
}
